//
//  AppDelegate.swift
//  ZWLDY
//
//  Created by zwl on 2016/10/1.
//  Copyright © 2016年 zwl. All rights reserved.
//

import UIKit
import AFNetworking


@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        
        Bugly.start(withAppId: "5c89ee7f7b")
        AFNetworkActivityIndicatorManager.shared().isEnabled = true
        
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.backgroundColor = UIColor.white
        window?.rootViewController = ZWLTabbarController()
        window?.makeKeyAndVisible()
        
        return true
    }
}

